﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="product_list.aspx.cs" Inherits="V5_EShop._Template.Default.product_list" %>

<%@ Import Namespace="V5_Common" %>
<%@ Register Src="Controls/getHeader2.ascx" TagName="getHeader2" TagPrefix="mm" %>
<%@ Register Src="Controls/getDismode.ascx" TagName="getDismode" TagPrefix="mm" %>
<%@ Register Src="Controls/getFooter.ascx" TagName="getFooter" TagPrefix="mm" %>
<%@ Register Src="Controls/getProductSingleClassList.ascx" TagName="getProductClass"
    TagPrefix="mm" %>
<%@ Register Src="Controls/getSearch.ascx" TagName="getSearch" TagPrefix="mm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/_template/<%=config.TemplatePath%>/css/init.css" rel="stylesheet" type="text/css">
    <link href="/_template/<%=config.TemplatePath%>/css/more.css" rel="stylesheet" type="text/css" />
    <link href="/_template/<%=config.TemplatePath %>/css/head.css" rel="stylesheet" type="text/css">
    <meta name="author" content="美工：吕玲" />
    <title>
        <%=config.SiteTitle %>-产品列表</title>
</head>
<body>
    <div id="page">
        <mm:getHeader2 ID="Header1" runat="server" />
        <div class="clear">
        </div>
        <div class="content">
            <mm:getSearch ID="getSearch" runat="server" />
            <div class="leftbox">
                <div class="Categories">
                    <h2>
                        牛津纺衬衫</h2>
                    <ul>
                        <li><a href="more.html">经典免烫全棉衬衫</a></li>
                        <li><a href="more.html">高级免烫全棉衬衫</a></li>
                        <li><a href="more.html">商务立领衬衫</a></li>
                        <li><a href="more.html">全棉免烫精细80支衬衫</a></li>
                        <li><a href="more.html">抗皱提花衬衫</a> </li>
                        <li><a href="more.html">米通全棉免烫衬衫</a></li>
                        <li><a href="more.html">香槟领极致提花长袖衬衫</a></li>
                        <li><a href="more.html">暗门襟商务长袖衬衫</a></li>
                        <li><a href="more.html">舒适全棉免烫衬衫</a></li>
                    </ul>
                </div>
                <div class="Advertisement">
                    <a href="Detail.html" target="_blank">
                        <img src="/_template/<%=config.TemplatePath%>/images/more/pic_01.gif" width="209" height="300"></a></div>
                <div class="Advertisement">
                    <a href="Detail.html" target="_blank">
                        <img src="/_template/<%=config.TemplatePath%>/images/more/pic_02.gif" width="209" height="300"></a></div>
            </div>
            <div class="rightbox">
                <span class="guild">首页 > 商务衬衫</span>
                <div class="shop_px">
                    <span class="shop_span01">显示方式：</span>
                    <%-- 列表方式--%>
                    <a href="/product-channel-<%=_classid %>-2-<%=_orderid %>-<%=_pageid %>.<%=config.UrlRewrite %>">
                        <img src="_Template/<%=config.TemplatePath%>/images/Manshirt/icon_01.gif" width="18"
                            height="17" title="列表方式">
                    </a>
                    <%--图文方式--%>
                    <a href="/product-channel-<%=_classid %>-1-<%=_orderid %>-<%=_pageid %>.<%=config.UrlRewrite %>">
                        <img src="_Template/<%=config.TemplatePath%>/images/Manshirt/icon_02.gif" width="18"
                            height="17" title="图文方式"></a> <span class="shop_span01">排序方式：</span>
                    <%--按上架日期--%>
                    <a href="/product-channel-<%=_classid %>--<%=_showid %>-1-<%=_pageid %>.<%=config.UrlRewrite %>">
                        <img src="_Template/<%=config.TemplatePath%>/images/Manshirt/icon_03.gif" width="18"
                            height="17" title="按上架日期"></a>
                    <%--按销量由高到低--%>
                    <a href="/product-channel-<%=_classid %>-<%=_showid %>-2-<%=_pageid %>.<%=config.UrlRewrite %>">
                        <img src="_Template/<%=config.TemplatePath%>/images/Manshirt/icon_04.gif" width="20"
                            height="17" title="按销量由高到低"></a>
                    <%--按价格从低到高--%>
                    <a href="/product-channel-<%=_classid %>-<%=_showid %>-3-<%=_pageid %>.<%=config.UrlRewrite %>">
                        <img src="_Template/<%=config.TemplatePath%>/images/Manshirt/icon_06.gif" width="17"
                            height="17" title="按价格从低到高">
                    </a>
                    <select name="ddlgoorder" id="ddlgoorder" class="select_1" onchange="ChangeOrder();">
                        <option value="/product-channel-<%=_classid %>-<%=_showid %>-1-<%=_pageid %>.<%=config.UrlRewrite %>">
                            上架新品</option>
                        <option value="/product-channel-<%=_classid %>-<%=_showid %>-2-<%=_pageid %>.<%=config.UrlRewrite %>">
                            按销量由高到低</option>
                        <option value="/product-channel-<%=_classid %>-<%=_showid %>-3-<%=_pageid %>.<%=config.UrlRewrite %>">
                            按价格从低到高</option>
                        <option value="/product-channel-<%=_classid %>-<%=_showid %>-4-<%=_pageid %>.<%=config.UrlRewrite %>">
                            按价格从高到低</option>
                    </select>
                    <div class="clear">
                    </div>
                </div>
                <!--衬衫图片展示-->
                <ul class="ul_pic">
                    <%--列表样式一--%>
                    <asp:Repeater ID="rpList1" runat="server">
                        <ItemTemplate>
                            <li><a href="product-details-<%# DataBinder.Eval(Container.DataItem,"ID")%>.aspx"
                                class="gray">
                                <img src="/<%#this.getPic(DataBinder.Eval(Container.DataItem,"ProductBigPic").ToString(),"s")%>" width="150"
                                    height="200"><%#Input.CutString(DataBinder.Eval(Container.DataItem,"ProductName").ToString(),20,"") %></a><br />
                                <span class="gray_font">
                                    <%#DataBinder.Eval(Container.DataItem, "ProductMarketPrice")%><a>￥388</a></span>
                                团购<span class="red_font">￥<%#DataBinder.Eval(Container.DataItem, "ProductMemberPrice")%></span>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                    <div class="clear">
                    </div>
                </ul>
                <%--  列表样式二--%>
                <asp:Repeater ID="rpList2" runat="server">
                    <ItemTemplate>
                        <div class="ul_pic01">
                            <a href="product-details-<%# DataBinder.Eval(Container.DataItem,"ID")%>.<%=config.UrlRewrite %>"
                                target="_blank">
                                <img class="sp" height="200" src=" <%# this.getPic(DataBinder.Eval(Container.DataItem,"ProductBigPic"),"s") %>"
                                    width="150"></a> <span class="nr">
                                        <h2>
                                            <a href="product-details-<%# DataBinder.Eval(Container.DataItem,"ID")%>.<%=config.UrlRewrite %>"
                                                target="_blank">
                                                <%#DataBinder.Eval(Container.DataItem,"ProductName") %></a></h2>
                                        <ul class="ul_pic_01">
                                            <asp:HiddenField ID="hfProductFields" runat="server" Value='<%#Bind("ProductSingleFields") %>' />
                                            <asp:Repeater ID="rpSingleList" runat="server">
                                                <ItemTemplate>
                                                    <li><span>
                                                        <%#DataBinder.Eval(Container.DataItem,"m1") %>：</span><%#DataBinder.Eval(Container.DataItem,"m2") %></li>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <div class="clear">
                                            </div>
                                        </ul>
                                    </span><span class="ul_pic_02">
                                        <ul>
                                            <li><span>市场价：</span><a class="no">
                                                <%#DataBinder.Eval(Container.DataItem, "ProductMarketPrice")%>元</a></li>
                                            <li><span class="Price">团购价：￥<%#DataBinder.Eval(Container.DataItem, "ProductMemberPrice")%></span></li>
                                            <li><span>商品级别：</span><br />
                                                <span>
                                                    <img height="16" src="/_template/<%=config.TemplatePath%>/images/Businessshirt/huangguan_lan.gif"
                                                        width="16"><img height="16" src="/_template/<%=config.TemplatePath%>/images/Businessshirt/huangguan_lan.gif"
                                                            width="16"><img height="16" src="/_template/<%=config.TemplatePath%>/images/Businessshirt/huangguan_lan.gif"
                                                                width="16"><img height="16" src="/_template/<%=config.TemplatePath%>/images/Businessshirt/huangguan_lan.gif"
                                                                    width="16"><img height="16" src="/_template/<%=config.TemplatePath%>/images/Businessshirt/huangguan_lan.gif"
                                                                        width="16"></span><div class="clear">
                                                                        </div>
                                            </li>
                                            <li><span>共有0条信息</span><br />
                                                <input type="button" name="button" id="button" value="" class="button_01" onclick="javascript:window.location.href='/product-details-<%# DataBinder.Eval(Container.DataItem,"ID")%>.<%=config.UrlRewrite %>'" />
                                            </li>
                                        </ul>
                                    </span>
                            <div class="clear">
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
                <div class="shop_px_foot">
                    <webdiyer:AspNetPager ID="Pager" runat="server" HorizontalAlign="Center" Width="100%"
                        ShowPageIndexBox="Always" EnableUrlRewriting="true" OnPageChanged="Pager_PageChanged"
                        PageSize="12">
                    </webdiyer:AspNetPager>
                </div>
            </div>
            <div class="clear"></div>
            <mm:getDismode ID="getDismode1" runat="server" />
            <mm:getFooter ID="getFooter1" runat="server" />
        </div>
</body>
</html>
